public class main
{
	public static void main(String[] args)
	{
		Agent agent = new Agent("src/config/examples.init");
		if (agent.getFileLoaded())
		{
			testTree(agent.ID3_Tree, "-");
		}
	}

	private static void testTree(Node node, String space)
	{
		if (node != null)
		{
			System.out.print(space);
			System.out.println(node.nodeName);
			if (node.son.size() != 0)
			{
				for (int i = 0; i < node.son.size(); i++)
				{
					testTree(node.son.get(i), space + "-");
				}
			}
		}
	}
}